package com.aimi.dao;

import com.aimi.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    public void insertUser(User user);
    public void deleteUser(@Param("id") Integer id);
    public void updateUser(User user);
    public User selectUserById(@Param("id") Integer id);
    public List<User> selectAllUser();
}
